package com.srxz.mobilepharmacy.util.httpclient;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * 封装httpClient响应结果
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class HttpClientResult implements Serializable {
    /**
     * 响应状态码
     */
    private int code;

    /**
     * 响应数据
     */
    private String content;

    public HttpClientResult(int code){
        this.code = code;
    }
}
